3 subject="""comment 3"""
4 date="2023-11-17T20:33:01Z"
6 That bug I fixed would also explain the behavior that you saw if the
7 content *was* present locally, and the location log *was* out of date about
10 In that situation, git-annex sees that the object file is present, and so
11 treats the content as present, despite the location log not knowing it's
12 present. Which triggers the situation of the bug I fixed, causing it to
13 skip copying the file.
15 Also, there's a pretty easy way to get into this situation. When the file
16 is not present, run `git-annex --from --to`. Then interrupt it after it's
17 downloaded the file --from but before it's finished sending it --to.
18 This results in the file being present locally, but only transiently so it
19 didn't update the location log.
21 So my guess is you interrupted a copy like that (or it failed incomplete
24 Now that I've fixed that bug, the behavior in that situation is that it
25 does copy the file to the remote. And then it drops the local copy since
26 the location log doesn't contain it. So it resumes correctly now.